package com.mew.lobby.message.response;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;

public class GoldBuyInfoResponse extends ZebraBaseMessage<GoldBuyInfoResponse> {
    /**
     * 钻石  金币
     */
    public long[][] j2g = {
            {10, 50, 100, 200, 400, 800, 1000, 1500, 2000, 3000, 5000},
            {50000, 250000, 500000, 1000000, 2000000, 4000000, 5000000, 7500000, 10000000, 15000000, 25000000}
    };

    /**
     * 钱 钻石
     */
    public long[][] m2j = {
            {10, 50, 100, 200, 400, 1000},
            {10, 50, 100, 200, 400, 1000}
    };

    @Override
    public void write(ByteBuf b) {
        writeInt(b,j2g.length);
        for (long[] longs : j2g) {
            writeLongArray(b,longs);
        }

        writeInt(b,m2j.length);
        for (long[] longs : m2j) {
            writeLongArray(b,longs);
        }
    }

    @Override
    public GoldBuyInfoResponse read(ByteBuf byteBuf) {
        return null;
    }
}
